package shop.up.payment.service;

import com.alipay.api.AlipayApiException;

/**
 * 支付宝业务接口
 */
public interface AlipayService {

    /**
     * 创建支付宝收银台表单
     * @param orderId
     * @return
     * @throws AlipayApiException
     */
    String createAliPay(Long orderId) throws AlipayApiException;

    /**
     * 退款
     * @param orderId
     * @return
     */
    boolean refund(Long orderId);
}
